package Text2;

/*
 *@Student 张策
 */
public class Dog {
    private String Dog;
    private int age;

    public Dog(String dog, int age) {
        Dog = dog;
        this.age = age;
    }
    @Override
    public String toString() {
        return "Dog{" +
                "Dog='" + Dog + '\'' +
                ", age=" + age +
                '}';
    }
}
